package com.xjrsoft.module.customer.erp_model.eRP_FinanceIncome.service;

import com.xjrsoft.module.customer.erp_model.eRP_FinanceIncome.entity.ErpFinanceincome;
import com.xjrsoft.module.customer.erp_model.eRP_FinanceIncome.entity.ErpFinanceincomebill;
import com.xjrsoft.module.customer.erp_model.eRP_FinanceIncome.dto.ErpFinanceincomeListDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xjrsoft.common.page.PageOutput;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *  服务类
 *
 * @author pp
 * @since 2021-09-23
 */
public interface IErpFinanceincomeService extends IService<ErpFinanceincome> {
	/**
	 * 自定义分页
	 *
	 * @param pageListDto
	 * @return
	 */
	IPage<ErpFinanceincome> getPageList(ErpFinanceincomeListDto pageListDto);

	List<ErpFinanceincomebill> getErpFinanceincomebillByParentId(String parentId);
	String addErpFinanceincome(ErpFinanceincome erpFinanceincome, List<ErpFinanceincomebill> erpFinanceincomebillList);

	boolean updateErpFinanceincome(String id, ErpFinanceincome erpFinanceincome, List<ErpFinanceincomebill> erpFinanceincomebillList);
}
